package com.woniuxy.classdeans.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Author weizihan
 * @Date 2020/7/21 2020/7/21
 * @Description 配置RestTemplateBean
 * @Since version-1.0
 */
@Configuration
public class RestTemplateConfig {
    @Bean
    public RestTemplate getRestTemplate(){
        return  new RestTemplate();
    }
}
